home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
compress
/
stzip
/
stzip.doc
< prev
next >
Wrap
Text File
|
1984-01-31
|
28KB
|
662 lines
____________________________
_________ ***** ****** ****** * *****
__________________________ * * ** * * *
_________________ ** * *** * ******
________________ * * ** * *
_____________ ***** * ****** * *
______________________
STZip version 2.6
(c) Vincent Pomey 1990-1994
**************
* 0 - Prolog *
**************
STZip is a program that allows you to compress and decompress
files, i.e. to reduce their lengths. You saves space on your disks and
reduce the transmission time if you send the files by modem. It also
allows you to group several files in one single file, whose extension
in general is ZIP.
STZip uses files that are compatible with PKZip 2.04 on the IBM PC,
and the Unix Info-Zip programs Zip 1.9/Unzip 5.0.
You may copy this program and put it for download on bulletin
boards. Commercial use and distribution (that includes putting STZip or
self extracting files made by STZip on anything that is sold for more
than the cost of the disk and handling charges) is not authorized without
agreement of the author. You use this program at your own risk, there
is no warranty.
Please avoid to "repackage" STZip, I prefer than the users gets all
the files originally in the distribution.
This is postcardware : if you use it, please register by sending a
postcard to
Vincent Pomey
2 allée Valéry Larbaud
92260 Fontenay aux roses - France
I inform registered users of new versions if they supply an E-mail
address. Thanks to all users who were kind enough to register !
The program is written in Modula-2 and assembler. For information
on the file format, see the APPNOTE.TXT file distributed with PKZip from
PKWARE. It explains the directory structure of a ZIP file, and the
decompression algorithm.
I can be reached via electronic mail :
Fido : Vincent Pomey (2:324/101.10)
Email : vincent@stell.frmug.fr.net (please do not send large mails)
As you will probably see if you read this doc, I'm not a good
technical writer... Sorry for that !
----oooOooo---
There are several ways to use STZip:
- double-clicking STZIP.PRG, using the GEM-interface
- installing it as an application in the desktop: click once on
STZIP.PRG, choose from the Desktop's menus the entry "Install
Application," type ZIP and confirm. After this, you may save the
desktop. Now, to use ZIP you only have to double-click a file with the
extension .ZIP and you will find yourself in STZip, with GEM interface
for using that file.
- renaming STZIP.PRG to STZIP.TTP and using it (or ZIPJR.TTP)
with a command line.
- from a command line interpreter or external program, also using
a command line.
- with some desktops, it is possible to drag and drop a file to
the STZip icon. If this is a zipfile, it will be opened. If not, a
zipfile with a similar name (e.g. FLAP.ZIP if you dropped FLAP.PRG)
will be opened.
The usage with the GEM interface is the easiest. Certain options are
available only in GEM (the comments for example), while others are only
present with command-line usage (e.g. excluding files from compression).
ZIPJR.TTP is a stripped down version of STZIP : it does not have code
for the GEM interface, but features are exactly the same if you're
using the command line interface. The only advantage is that it is
smaller.
*********************************
* I - Usage with a command line *
*********************************
The usage of STZip with a command line is similar to that of ARC or LHArc
on the Atari, or PKZip on the PC.
1 - A Table
------------
+--------------------------------------------------------------------+
| The syntax is of the form: |
| |
| STZip command {options} [path] zipfile {file} |
| |
| |
| There has to be one single command: |
| |
| -a add files |
| -d delete files |
| -f freshen: update files in the zip-file |
| -u update: add new files and freshen the ones already |
| present in the zip-file |
| -x extract files |
| -s extract compressed files on the screen |
| -c check the zipfile |
| -v list of the files with info |
| -l list of the files, just with their names |
| -? a bit of help |
| |
| |
| You can also add a few options: |
| |
| -o overwrite a file without asking for confirmation |
| if the file already exists |
| -r `recursive compression: all the files in the |
| sub-directories you selected will also be compressed. |
| `recursive decompression: files compressed from sub- |
| directories will be decompressed in the corresponding |
| folders, which will be created if they don't exist. |
| -p store pathname: the pathname of the file you have |
| specified in the command line is stored in the zip; |
| automatic with recursive compression |
| -m move file: files are deleted after compression |
| -t the date of the .zip file will be that of the file |
| compressed with the most recent date. |
| -z modify the general comment for the zip file |
| -i dir put the files to be compressed in the subdirectory |
| DIR in the zipfile |
| -b dir use dir when writing tempo files |
| -g extract the file FFF.ZIP in the directory FFF |
| -w pw encrypt the files to be added using pw as password |
| or use pw to decrypt the files to be extracted |
| -nmmddyy add only the files newer than mm/dd/yy (US date format)|
| -h wait for keypress before terminating the program |
| -k filenames are case insensitive when using MiNT |
| -q quiet - suppress all output |
| -e specifies the compression method: |
| -es store, no compression |
| -eh shrink, quick compression |
| -ei implode, default |
| -ed deflate, better compression |
| |
+--------------------------------------------------------------------+
Note that you can use the -z option alone, without any command. STZip
will only ask you for the new comment of the file.
The -k option is only useful